package o;

import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.drawable.BitmapDrawable;
import androidx.annotation.NonNull;
import java.io.IOException;

public class we<DataType> implements se<DataType, BitmapDrawable> {
    private final Resources ˎ;
    private final se<DataType, Bitmap> ˏ;

    public we(@NonNull Resources resources, @NonNull se<DataType, Bitmap> seVar) {
        this.ˎ = (Resources) aas.ˎ(resources);
        this.ˏ = (se) aas.ˎ(seVar);
    }

    public boolean ˊ(@NonNull DataType dataType, @NonNull sc scVar) throws IOException {
        return this.ˏ.ˊ(dataType, scVar);
    }

    public tx<BitmapDrawable> ˎ(@NonNull DataType dataType, int i, int i2, @NonNull sc scVar) throws IOException {
        return wy.ॱ(this.ˎ, this.ˏ.ˎ(dataType, i, i2, scVar));
    }
}
